package com.telrob.bytevm.vm;

public class Register {
	public int AX;
	public int BX;
	public int CX;
	public int DX;
	public int EX;
	public int BP;
	public int SS;
	public int SP;
	public int PC;
	
	public String toString() {
		String str="AX:%08X\tBX:%08X\tCX:%08X\tDX:%08X\r\n"
				+ "EX:%08X\tBP:%08X\tSS:%08X\tSP:%08X\r\n"
				+ "PC:%08X";
		return String.format(str, AX,BX,CX,DX,EX,BP,SS,SP,PC);
	}
}
